class Notifier < ActionMailer::Base
  default from: '<taikhoantest4@gmail.com>'

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.notifier.order_received.subject
  #
  def order_received(user)
    @user = user
    mail :to => user.email,:subject => "Changing Password Confirmation"
  end

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.notifier.order_shipped.subject
  #
  def order_shipped(user)
    @user = user
    mail :to => user.email,:subject => "Changing Password Confirmation"
  end
end
